package schoolDemo3;

import java.util.Scanner;

public class AppScannerText {
    public static void main(String[] args) {
        double num;
        System.out.println("请输入数字：");
        Scanner reader=new Scanner(System.in);
        num=reader.nextDouble();
        System.out.println("输入的数字为："+num);
    }
}
